home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5518 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  717 b 

  1. Path: lantana.singnet.com.sg!usenet
  2. From: Toh Choon Swee <tohcs@pobox.org.sg>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Argument from commandline???
  5. Date: 5 Feb 1996 13:26:20 GMT
  6. Organization: Singapore Telecom Internet Service
  7. Message-ID: <4f50hs$rsh@lantana.singnet.com.sg>
  8. References: <4eou36$p6g@prometheus.algonet.se>
  9. NNTP-Posting-Host: ts900-3320.singnet.com.sg
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  14.  
  15. bifrost@algonet.se (Nylund Patrik) wrote:
  16. >How do I include argument from the commandline to the main function in
  17. >a c++ program?
  18. >
  19.  
  20. It should be the same as a c program eg
  21.  
  22. int main( int argc, char** argv)
  23.  
  24. TCS
  25.  
  26.  
  27.  
  28.